#ifndef SEARCHWIDGET_H
#define SEARCHWIDGET_H

#include <QWidget>
#include "restaurant.h"
#include "restaurantsearchcard.h"

typedef struct DRNode *DRList ;
struct DRNode{
    Restaurant DR;
    DRList next;
};

namespace Ui {
class SearchWidget;
}

class SearchWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SearchWidget(QWidget *parent = nullptr);
    ~SearchWidget();

private:
    Ui::SearchWidget *ui;
    DRList SearchLinkedList;
};

#endif // SEARCHWIDGET_H
